package com.app.mapper;

import com.app.model.DepartmentModel;
import com.app.model.KeyWorkModel;
import com.app.model.SystemModel;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface DepartmentMapper extends BaseMapper<DepartmentModel> {

    List<DepartmentModel> getListByModel(DepartmentModel model);

    int getCountByModel(DepartmentModel model);


    List<DepartmentModel> getList(DepartmentModel model);

    int getCount(DepartmentModel model);

    List<DepartmentModel> get();

    List<SystemModel> getDepartmentClass();

    List<DepartmentModel> selectType();

    List<SystemModel> departmentStatus();

    List<DepartmentModel> getDepartment();

    int count();

    List<DepartmentModel> search(String keyword);
}
